package com.ruoyi.project.mydy.dimensionrank.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 维度排行对象 dl_dimension_rank
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlDimensionRank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 电影id */
    @Excel(name = "电影id")
    private Long movieId;

    /** 想看数 */
    @Excel(name = "想看数")
    private Long pretentNum;

    /** 已看数 */
    @Excel(name = "已看数")
    private Long watchedNum;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long commentNum;

    /** 电影票房（单位：万） */
    @Excel(name = "电影票房", readConverterExp = "单=位：万")
    private Long movieProfit;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMovieId(Long movieId)
    {
        this.movieId = movieId;
    }

    public Long getMovieId()
    {
        return movieId;
    }
    public void setPretentNum(Long pretentNum)
    {
        this.pretentNum = pretentNum;
    }

    public Long getPretentNum()
    {
        return pretentNum;
    }
    public void setWatchedNum(Long watchedNum)
    {
        this.watchedNum = watchedNum;
    }

    public Long getWatchedNum()
    {
        return watchedNum;
    }
    public void setCommentNum(Long commentNum)
    {
        this.commentNum = commentNum;
    }

    public Long getCommentNum()
    {
        return commentNum;
    }
    public void setMovieProfit(Long movieProfit)
    {
        this.movieProfit = movieProfit;
    }

    public Long getMovieProfit()
    {
        return movieProfit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("movieId", getMovieId())
            .append("pretentNum", getPretentNum())
            .append("watchedNum", getWatchedNum())
            .append("commentNum", getCommentNum())
            .append("movieProfit", getMovieProfit())
            .append("createTime", getCreateTime())
            .toString();
    }
}
